#pragma once
#include<iostream>

enum Exit
{
    OK,
    SOCKET_ERR,
    BIND_ERR,
    LISTEN_ERR,
    ACCEPT_ERR,
    READ_ERR,
    USAGE_ERR,
    CONNECT_ERR,
    FORK_ERR,
    CREATE_EPFD_ERR,
    EPOLL_CTL_ERR
};


#define CONT(addr) (struct sockaddr*)&addr